package com.quad.innovators.salesease.converter;

import com.quad.innovators.salesease.model.entity.warehouse.ReturnOrderScan;
import com.quad.innovators.salesease.model.entity.warehouse.SaleOrderScan;
import com.quad.innovators.salesease.model.form.warehouse.ReturnOrderScanForm;
import com.quad.innovators.salesease.model.form.warehouse.SaleOrderScanForm;

import org.mapstruct.InheritInverseConfiguration;
import org.mapstruct.Mapper;

/**
 * @author : shanshan.li
 * @createTime : 2025/4/24 11:14
 * @Version : 1.0 
 */
@Mapper(componentModel = "spring")
public interface SaleOrderScanConverter {

    SaleOrderScanForm toForm(SaleOrderScan entity);

    @InheritInverseConfiguration(name = "toForm")
    SaleOrderScan toEntity(SaleOrderScanForm entity);
}
